package com.curve;

import com.lordor.framework.action.BaseQueryAction;
import com.lordor.framework.query.QueryResult;
import com.lordor.om.action.AuthorizationUtil;
import com.service.CurveServiceFactory;

/**
 * User: lyj
 * Date: 2011-11-30
 * Time: 16:28:08
 */
public class ListCurvesAction extends BaseQueryAction {

   private QueryResult result;
    public String execute() throws Exception {
       result= CurveServiceFactory.getCurveService().queryMyCurves(AuthorizationUtil.getAccount(),getPageViewer());
        
        return super.execute();
    }

    public QueryResult getQueryResult() {
        return result;
    }
}
